<?php 
include_once("../model/Model.php");
$model = new Model();
$ans = $model->getdoc();
foreach($ans as $row)
{
?>
                                <table border="0">
                            	<tr>
                                	<td>
                                   	
                                        <table border="0" style="font-size:10px" width="150">
                                            <tr><td colspan="2"><a href="view/vault/<?php echo $_SESSION['user_id']; ?>/documents/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>" target="_blank"><?php echo $row['url']; ?></a></td></tr>
                                            <tr><td colspan="2"><b><?php echo $row['url']; ?></b></td></tr>
                                            <tr>
                                                <td>Views 10,120,12</td>
                                                <td align="right"><img src="view/img/vault_icons/16/download.png" height="15" width="15" /><img src="view/img/vault_icons/16/settings.png" height="15" width="15" /></td>
                                            </tr>
                                        </table>
                                    
                                    </td>
                                </tr>
                            	</table>
 <?php
    }
     ?>